<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>夏季新品大促 - 广告详情</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #165DFF;
            --primary-light: #E8F3FF;
            --secondary: #6B7280;
            --light: #F9FAFB;
            --dark: #1F2937;
            --success: #36D399;
            --danger: #F87171;
            --border: #E5E7EB;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: var(--light);
            color: var(--dark);
            padding-top: 20px;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        .back-link {
            color: var(--secondary);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            margin-bottom: 1.5rem;
            transition: color 0.2s;
        }
        
        .back-link:hover {
            color: var(--primary);
        }
        
        .back-link i {
            margin-right: 8px;
        }
        
        .ad-detail {
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        /* 广告图片展示区 */
        .ad-gallery {
            position: relative;
        }
        
        .main-image-container {
            height: 500px;
            overflow: hidden;
        }
        
        .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .main-image:hover {
            transform: scale(1.02);
        }
        
        .thumbnail-container {
            display: flex;
            gap: 10px;
            padding: 15px;
            overflow-x: auto;
            scrollbar-width: thin;
            border-top: 1px solid var(--border);
        }
        
        .thumbnail {
            width: 100px;
            height: 100px;
            border-radius: 6px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.8;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        
        .thumbnail:hover, .thumbnail.active {
            opacity: 1;
            border: 2px solid var(--primary);
        }
        
        .ad-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: var(--primary);
            color: white;
            font-size: 0.85rem;
            padding: 5px 12px;
            border-radius: 4px;
            font-weight: 500;
            z-index: 10;
        }
        
        /* 广告内容区 */
        .ad-content {
            padding: 25px;
        }
        
        .ad-title {
            font-weight: 700;
            font-size: 1.75rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .ad-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 1.5rem;
            color: var(--secondary);
            font-size: 0.9rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
        }
        
        .meta-item i {
            margin-right: 8px;
            color: var(--primary);
        }
        
        .ad-description {
            line-height: 1.8;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .ad-highlights {
            background-color: var(--primary-light);
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 2rem;
        }
        
        .highlight-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
        }
        
        .highlight-title i {
            color: var(--primary);
            margin-right: 8px;
        }
        
        .highlight-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .highlight-item {
            display: flex;
            align-items: center;
            color: var(--dark);
            font-size: 0.9rem;
        }
        
        .highlight-item i {
            color: var(--primary);
            margin-right: 6px;
        }
        
        /* 价格和行动按钮 */
        .ad-cta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .price-container {
            margin-right: auto;
        }
        
        .original-price {
            text-decoration: line-through;
            color: var(--secondary);
            font-size: 1rem;
        }
        
        .current-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--danger);
            margin-left: 10px;
        }
        
        .cta-btn {
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .primary-cta {
            background-color: var(--primary);
            color: white;
        }
        
        .primary-cta:hover {
            background-color: #0E4CD1;
        }
        
        .secondary-cta {
            background-color: white;
            color: var(--primary);
            border: 1px solid var(--primary);
        }
        
        .secondary-cta:hover {
            background-color: var(--primary-light);
        }
        
        /* 作者信息 */
        .ad-author {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            background-color: var(--light);
            border-radius: 8px;
            margin-bottom: 2rem;
        }
        
        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .author-info {
            flex-grow: 1;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        
        .author-meta {
            color: var(--secondary);
            font-size: 0.9rem;
            margin-bottom: 8px;
        }
        
        .author-rating {
            display: flex;
            align-items: center;
            color: #FBB040;
            font-size: 0.9rem;
        }
        
        .follow-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 20px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .follow-btn:hover {
            background-color: #0E4CD1;
        }
        
        .follow-btn.following {
            background-color: white;
            color: var(--primary);
            border: 1px solid var(--primary);
        }
        
        /* 标签和互动区 */
        .ad-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 2rem;
        }
        
        .ad-tag {
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .ad-tag:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .ad-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }
        
        .action-button {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background-color: white;
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--secondary);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .action-button:hover {
            background-color: var(--light);
            color: var(--primary);
            border-color: var(--primary-light);
        }
        
        .action-button.liked {
            color: var(--danger);
            border-color: #FFE5E5;
        }
        
        .action-button.saved {
            color: var(--primary);
            border-color: var(--primary-light);
        }
        
        /* 详情标签页 */
        .ad-tabs {
            margin-bottom: 2rem;
        }
        
        .nav-tabs {
            border-bottom: 1px solid var(--border);
            margin-bottom: 1.5rem;
        }
        
        .nav-tabs .nav-link {
            color: var(--secondary);
            border: none;
            border-bottom: 3px solid transparent;
            padding: 12px 20px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .nav-tabs .nav-link:hover {
            color: var(--primary);
            background-color: transparent;
        }
        
        .nav-tabs .nav-link.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
            background-color: transparent;
        }
        
        .tab-content {
            padding: 10px 0;
        }
        
        .tab-pane h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .tab-pane p {
            margin-bottom: 1rem;
            line-height: 1.8;
        }
        
        .spec-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed var(--border);
        }
        
        .spec-name {
            color: var(--secondary);
        }
        
        .spec-value {
            font-weight: 500;
        }
        
        /* 评论区 */
        .comments-section {
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--shadow);
            padding: 25px;
            margin-bottom: 2rem;
        }
        
        .section-title {
            font-weight: 600;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            color: var(--primary);
            margin-right: 10px;
        }
        
        .comment-form {
            margin-bottom: 2rem;
            display: flex;
            gap: 1rem;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .comment-input-container {
            flex-grow: 1;
        }
        
        .comment-input {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 1rem;
            resize: none;
            min-height: 100px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        
        .comment-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
            outline: none;
        }
        
        .comment-submit {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 20px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            margin-top: 10px;
            float: right;
        }
        
        .comment-submit:hover {
            background-color: #0E4CD1;
        }
        
        .comments-list {
            margin-bottom: 2rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }
        
        .comment-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .comment-content {
            flex-grow: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .comment-author {
            font-weight: 600;
        }
        
        .comment-time {
            color: var(--secondary);
            font-size: 0.85rem;
        }
        
        .comment-text {
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        
        .comment-actions {
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }
        
        .comment-action {
            color: var(--secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: color 0.2s;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--danger);
        }
        
        /* 相关推荐 */
        .related-ads {
            margin-bottom: 2rem;
        }
        
        .ads-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .related-ad-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .related-ad-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        
        .related-ad-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .related-ad-content {
            padding: 15px;
        }
        
        .related-ad-title {
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
            font-size: 1rem;
        }
        
        .related-ad-price {
            color: var(--danger);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .related-ad-stats {
            display: flex;
            gap: 1rem;
            font-size: 0.8rem;
            color: var(--secondary);
        }
        
        .related-ad-stat {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .main-image-container {
                height: 400px;
            }
            
            .ad-cta {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .price-container {
                margin-right: 0;
                margin-bottom: 1rem;
            }
            
            .cta-btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .main-image-container {
                height: 300px;
            }
            
            .thumbnail {
                width: 80px;
                height: 80px;
            }
            
            .ad-title {
                font-size: 1.5rem;
            }
            
            .ad-meta {
                gap: 1rem;
            }
            
            .author-avatar {
                width: 50px;
                height: 50px;
            }
            
            .ad-actions {
                gap: 0.5rem;
            }
            
            .action-button {
                flex-grow: 1;
                justify-content: center;
                padding: 8px;
                font-size: 0.9rem;
            }
            
            .action-button span {
                display: none;
            }
            
            .action-button i {
                margin-right: 0;
            }
        }
        
        @media (max-width: 576px) {
            .main-image-container {
                height: 250px;
            }
            
            .ad-content {
                padding: 15px;
            }
            
            .highlight-list {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .nav-tabs .nav-link {
                padding: 10px;
                font-size: 0.9rem;
            }
            
            .section-title {
                font-size: 1.25rem;
            }
            
            .comment-form {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 返回链接 -->
        <a href="#" class="back-link">
            <i class="fas fa-arrow-left"></i> 返回推荐列表
        </a>
        
        <!-- 广告详情主体 -->
        <div class="ad-detail">
            <!-- 广告图片展示区 -->
            <div class="ad-gallery">
                <div class="ad-badge">推广</div>
                <div class="main-image-container">
                    <img src="https://picsum.photos/1200/800?random=10" alt="夏季新品大促" class="main-image" id="mainImage">
                </div>
                <div class="thumbnail-container">
                    <img src="https://picsum.photos/1200/800?random=10" alt="夏季新品展示图1" class="thumbnail active" data-img="https://picsum.photos/1200/800?random=10">
                    <img src="https://picsum.photos/1200/800?random=11" alt="夏季新品展示图2" class="thumbnail" data-img="https://picsum.photos/1200/800?random=11">
                    <img src="https://picsum.photos/1200/800?random=12" alt="夏季新品展示图3" class="thumbnail" data-img="https://picsum.photos/1200/800?random=12">
                    <img src="https://picsum.photos/1200/800?random=13" alt="夏季新品展示图4" class="thumbnail" data-img="https://picsum.photos/1200/800?random=13">
                    <img src="https://picsum.photos/1200/800?random=14" alt="夏季新品展示图5" class="thumbnail" data-img="https://picsum.photos/1200/800?random=14">
                </div>
            </div>
            
            <!-- 广告内容区 -->
            <div class="ad-content">
                <h1 class="ad-title">夏季新品大促，全场5折起，满300减50</h1>
                
                <div class="ad-meta">
                    <div class="meta-item">
                        <i class="far fa-eye"></i>
                        <span>12.5k 浏览</span>
                    </div>
                    <div class="meta-item">
                        <i class="far fa-comment"></i>
                        <span>342 评论</span>
                    </div>
                    <div class="meta-item">
                        <i class="far fa-heart"></i>
                        <span>2.1k 点赞</span>
                    </div>
                    <div class="meta-item">
                        <i class="far fa-calendar"></i>
                        <span>发布于 2小时前</span>
                    </div>
                </div>
                
                <div class="ad-description">
                    夏季新款连衣裙、T恤、短裤全面上市，限时优惠活动开始啦！本次活动涵盖上千款夏季单品，无论您是寻找休闲日常穿搭，还是度假风造型，都能在这里找到心仪之选。前100名下单客户更有精美礼品赠送，数量有限，先到先得！
                </div>
                
                <div class="ad-highlights">
                    <div class="highlight-title">
                        <i class="fas fa-tag"></i> 活动亮点
                    </div>
                    <div class="highlight-list">
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>全场5折起，折扣低至3折</span>
                        </div>
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>满300减50，满500减100</span>
                        </div>
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>新用户注册立减20元</span>
                        </div>
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>前100名下单送精美礼品</span>
                        </div>
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>全场包邮，7天无理由退换</span>
                        </div>
                        <div class="highlight-item">
                            <i class="fas fa-check-circle"></i>
                            <span>活动时间：7月1日-7月15日</span>
                        </div>
                    </div>
                </div>
                
                <div class="ad-cta">
                    <div class="price-container">
                        <span class="original-price">原价：¥599起</span>
                        <span class="current-price">¥299起</span>
                    </div>
                    <button class="cta-btn primary-cta">
                        <i class="fas fa-shopping-cart"></i> 立即购买
                    </button>
                    <button class="cta-btn secondary-cta">
                        <i class="fas fa-link"></i> 查看详情
                    </button>
                </div>
                
                <!-- 作者信息 -->
                <div class="ad-author">
                    <img src="https://picsum.photos/100/100?random=201" alt="夏日服饰官方旗舰店" class="author-avatar">
                    <div class="author-info">
                        <div class="author-name">夏日服饰官方旗舰店</div>
                        <div class="author-meta">官方认证 · 已加入3年 · 2.5k粉丝</div>
                        <div class="author-rating">
                            <i class="fas fa-star"></i>
                            <span>4.8 评分 (12,345条评价)</span>
                        </div>
                    </div>
                    <button class="follow-btn">关注</button>
                </div>
                
                <!-- 标签 -->
                <div class="ad-tags">
                    <a href="#" class="ad-tag">夏季穿搭</a>
                    <a href="#" class="ad-tag">连衣裙</a>
                    <a href="#" class="ad-tag">T恤</a>
                    <a href="#" class="ad-tag">短裤</a>
                    <a href="#" class="ad-tag">限时优惠</a>
                    <a href="#" class="ad-tag">新品上市</a>
                </div>
                
                <!-- 互动按钮 -->
                <div class="ad-actions">
                    <button class="action-button like-btn">
                        <i class="far fa-heart"></i>
                        <span>点赞 (2.1k)</span>
                    </button>
                    <button class="action-button comment-btn">
                        <i class="far fa-comment"></i>
                        <span>评论 (342)</span>
                    </button>
                    <button class="action-button share-btn">
                        <i class="fas fa-share-alt"></i>
                        <span>分享</span>
                    </button>
                    <button class="action-button save-btn">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                    <button class="action-button report-btn">
                        <i class="fas fa-flag"></i>
                        <span>举报</span>
                    </button>
                </div>
                
                <!-- 详情标签页 -->
                <div class="ad-tabs">
                    <ul class="nav nav-tabs" id="adTabs" role="tablist">
                        <li class="nav-item" role="presentation">
                            <button class="nav-link active" id="details-tab" data-bs-toggle="tab" data-bs-target="#details" type="button" role="tab" aria-controls="details" aria-selected="true">详细介绍</button>
                        </li>
                        <li class="nav-item" role="presentation">
                            <button class="nav-link" id="specifications-tab" data-bs-toggle="tab" data-bs-target="#specifications" type="button" role="tab" aria-controls="specifications" aria-selected="false">规格参数</button>
                        </li>
                        <li class="nav-item" role="presentation">
                            <button class="nav-link" id="shipping-tab" data-bs-toggle="tab" data-bs-target="#shipping" type="button" role="tab" aria-controls="shipping" aria-selected="false">配送信息</button>
                        </li>
                        <li class="nav-item" role="presentation">
                            <button class="nav-link" id="faq-tab" data-bs-toggle="tab" data-bs-target="#faq" type="button" role="tab" aria-controls="faq" aria-selected="false">常见问题</button>
                        </li>
                    </ul>
                    <div class="tab-content" id="adTabsContent">
                        <div class="tab-pane fade show active" id="details" role="tabpanel" aria-labelledby="details-tab">
                            <h3>夏季新品系列介绍</h3>
                            <p>本季夏季新品系列以"轻盈舒适"为设计理念，精选优质面料，结合时尚设计元素，为您带来清爽舒适的穿着体验。</p>
                            <p>连衣裙系列采用透气棉麻材质，加入碎花、条纹等流行元素，既有适合日常穿着的简约款，也有适合度假的波西米亚风长裙。</p>
                            <p>T恤系列推出多种图案和色彩选择，从简约纯色到个性印花，搭配舒适圆领设计，适合各种场合穿着。</p>
                            <p>短裤系列包括牛仔、棉麻等多种材质，宽松版型设计，活动自如，是夏季必备单品。</p>
                            <p>所有产品均经过严格质量检测，确保面料安全、做工精细，让您买得放心，穿得舒心。</p>
                        </div>
                        <div class="tab-pane fade" id="specifications" role="tabpanel" aria-labelledby="specifications-tab">
                            <h3>产品规格参数</h3>
                            <div class="spec-list">
                                <div class="spec-item">
                                    <span class="spec-name">品牌</span>
                                    <span class="spec-value">夏日风尚</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">材质</span>
                                    <span class="spec-value">棉、麻、聚酯纤维</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">颜色</span>
                                    <span class="spec-value">多色可选</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">尺码</span>
                                    <span class="spec-value">XS、S、M、L、XL</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">洗涤方式</span>
                                    <span class="spec-value">建议手洗或轻柔机洗</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">产地</span>
                                    <span class="spec-value">中国</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">保质期</span>
                                    <span class="spec-value">30天质保</span>
                                </div>
                                <div class="spec-item">
                                    <span class="spec-name">适用季节</span>
                                    <span class="spec-value">夏季</span>
                                </div>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="shipping" role="tabpanel" aria-labelledby="shipping-tab">
                            <h3>配送信息</h3>
                            <p>1. 发货时间：订单确认后48小时内发货，活动期间可能延迟1-2天，请谅解。</p>
                            <p>2. 配送方式：默认使用圆通快递，部分地区支持京东快递、顺丰速运。</p>
                            <p>3. 配送范围：全国大陆地区均可配送，港澳台及海外地区暂不支持。</p>
                            <p>4. 配送时间：一般地区3-5天，偏远地区5-7天。</p>
                            <p>5. 运费政策：全场满99元包邮，不足99元收取10元运费。</p>
                            <p>6. 收货注意事项：请当面验收商品，确认无误后再签收。如有破损或不符，请拒收并及时联系客服。</p>
                        </div>
                        <div class="tab-pane fade" id="faq" role="tabpanel" aria-labelledby="faq-tab">
                            <h3>常见问题</h3>
                            <p><strong>Q: 活动时间是多久？</strong><br>
                            A: 本次夏季大促活动时间为7月1日至7月15日，逾期恢复原价。</p>
                            <p><strong>Q: 如何领取满减优惠？</strong><br>
                            A: 满减优惠将在结算时自动抵扣，无需领取优惠券。</p>
                            <p><strong>Q: 商品是否支持退换货？</strong><br>
                            A: 支持7天无理由退换货，商品需保持全新未使用状态，吊牌完整。</p>
                            <p><strong>Q: 如何查询订单物流信息？</strong><br>
                            A: 订单发货后，您可以在"我的订单"中查看物流跟踪信息。</p>
                            <p><strong>Q: 赠品如何获得？</strong><br>
                            A: 前100名下单客户将自动获得赠品，无需额外操作，赠品将随订单一同发出。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 评论区 -->
        <div class="comments-section">
            <h2 class="section-title">
                <i class="fas fa-comments"></i> 评论 (342)
            </h2>
            
            <!-- 评论表单 -->
            <div class="comment-form">
                <img src="https://picsum.photos/100/100?random=301" alt="当前用户头像" class="user-avatar">
                <div class="comment-input-container">
                    <textarea class="comment-input" placeholder="分享你的想法..."></textarea>
                    <button class="comment-submit">发布评论</button>
                </div>
            </div>
            
            <!-- 评论列表 -->
            <div class="comments-list">
                <!-- 评论1 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=302" alt="用户头像" class="user-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <div class="comment-author">张小姐</div>
                            <div class="comment-time">1小时前</div>
                        </div>
                        <div class="comment-text">
                            已经买了两件连衣裙，质量非常好，面料轻薄透气，很适合夏天穿。价格也很划算，比实体店便宜多了，推荐大家购买！
                        </div>
                        <div class="comment-actions">
                            <a href="#" class="comment-action like-comment">
                                <i class="far fa-heart"></i> 24
                            </a>
                            <a href="#" class="comment-action reply-comment">
                                <i class="far fa-comment"></i> 回复
                            </a>
                        </div>
                    </div>
                </div>
                
                <!-- 评论2 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=303" alt="用户头像" class="user-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <div class="comment-author">李先生</div>
                            <div class="comment-time">3小时前</div>
                        </div>
                        <div class="comment-text">
                            买了一件T恤，尺码很标准，图案也很时尚，穿上很舒服。物流也很快，第二天就收到了，给个好评！
                        </div>
                        <div class="comment-actions">
                            <a href="#" class="comment-action like-comment">
                                <i class="far fa-heart"></i> 15
                            </a>
                            <a href="#" class="comment-action reply-comment">
                                <i class="far fa-comment"></i> 回复
                            </a>
                        </div>
                    </div>
                </div>
                
                <!-- 评论3 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=304" alt="用户头像" class="user-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <div class="comment-author">王女士</div>
                            <div class="comment-time">5小时前</div>
                        </div>
                        <div class="comment-text">
                            请问这款连衣裙有大码吗？我平时穿XXL，不知道能不能穿下？希望卖家能提供详细的尺码表。
                        </div>
                        <div class="comment-actions">
                            <a href="#" class="comment-action like-comment">
                                <i class="far fa-heart"></i> 3
                            </a>
                            <a href="#" class="comment-action reply-comment">
                                <i class="far fa-comment"></i> 回复
                            </a>
                        </div>
                        
                        <!-- 商家回复 -->
                        <div class="comment-item" style="margin-top: 1rem; padding-bottom: 0;">
                            <img src="https://picsum.photos/100/100?random=201" alt="商家头像" class="user-avatar" style="width: 36px; height: 36px;">
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author" style="color: var(--primary);">夏日服饰官方旗舰店 <span style="font-weight: normal; color: var(--secondary); font-size: 0.85rem;">(商家)</span></div>
                                    <div class="comment-time">4小时前</div>
                                </div>
                                <div class="comment-text">
                                    亲，这款连衣裙最大尺码是XL哦，不过我们版型偏宽松，您可以参考详情页的尺码表测量一下再决定呢。如果不合适，我们支持7天无理由退换货的呢~
                                </div>
                                <div class="comment-actions">
                                    <a href="#" class="comment-action like-comment">
                                        <i class="far fa-heart"></i> 2
                                    </a>
                                    <a href="#" class="comment-action reply-comment">
                                        <i class="far fa-comment"></i> 回复
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 加载更多评论 -->
            <button class="action-button" style="width: 100%; justify-content: center;">
                <i class="fas fa-spinner fa-spin"></i>
                <span>加载更多评论</span>
            </button>
        </div>
        
        <!-- 相关推荐 -->
        <div class="related-ads">
            <h2 class="section-title">
                <i class="fas fa-th"></i> 相关推荐
            </h2>
            <div class="ads-grid">
                <!-- 推荐广告1 -->
                <div class="related-ad-card">
                    <img src="https://picsum.photos/600/400?random=41" alt="夏季凉鞋促销" class="related-ad-image">
                    <div class="related-ad-content">
                        <h3 class="related-ad-title">夏季凉鞋新品上市，全场7折起</h3>
                        <div class="related-ad-price">¥199 起</div>
                        <div class="related-ad-stats">
                            <div class="related-ad-stat">
                                <i class="far fa-eye"></i> 5.2k
                            </div>
                            <div class="related-ad-stat">
                                <i class="far fa-heart"></i> 845
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐广告2 -->
                <div class="related-ad-card">
                    <img src="https://picsum.photos/600/400?random=42" alt="太阳镜特惠" class="related-ad-image">
                    <div class="related-ad-content">
                        <h3 class="related-ad-title">时尚太阳镜，防晒护眼，买一送一</h3>
                        <div class="related-ad-price">¥129 起</div>
                        <div class="related-ad-stats">
                            <div class="related-ad-stat">
                                <i class="far fa-eye"></i> 3.8k
                            </div>
                            <div class="related-ad-stat">
                                <i class="far fa-heart"></i> 632
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐广告3 -->
                <div class="related-ad-card">
                    <img src="https://picsum.photos/600/400?random=43" alt="夏季包包促销" class="related-ad-image">
                    <div class="related-ad-content">
                        <h3 class="related-ad-title">夏季新款包包，轻盈百搭，满200减50</h3>
                        <div class="related-ad-price">¥249 起</div>
                        <div class="related-ad-stats">
                            <div class="related-ad-stat">
                                <i class="far fa-eye"></i> 4.5k
                            </div>
                            <div class="related-ad-stat">
                                <i class="far fa-heart"></i> 721
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐广告4 -->
                <div class="related-ad-card">
                    <img src="https://picsum.photos/600/400?random=44" alt="防晒霜特惠" class="related-ad-image">
                    <div class="related-ad-content">
                        <h3 class="related-ad-title">防晒霜买二送一，高倍防晒，清爽不油腻</h3>
                        <div class="related-ad-price">¥89 起</div>
                        <div class="related-ad-stats">
                            <div class="related-ad-stat">
                                <i class="far fa-eye"></i> 6.7k
                            </div>
                            <div class="related-ad-stat">
                                <i class="far fa-heart"></i> 1.2k
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 图片切换功能
        document.querySelectorAll('.thumbnail').forEach(thumbnail => {
            thumbnail.addEventListener('click', function() {
                // 更新主图
                const mainImage = document.getElementById('mainImage');
                mainImage.src = this.dataset.img;
                
                // 更新缩略图选中状态
                document.querySelectorAll('.thumbnail').forEach(thumb => {
                    thumb.classList.remove('active');
                });
                this.classList.add('active');
            });
        });
        
        // 点赞功能
        document.querySelector('.like-btn').addEventListener('click', function() {
            const icon = this.querySelector('i');
            const countText = this.querySelector('span').textContent;
            const count = parseInt(countText.match(/\d+/)[0]);
            
            if (icon.classList.contains('far')) {
                // 点赞
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.classList.add('liked');
                this.querySelector('span').textContent = `点赞 (${count + 1}k)`;
            } else {
                // 取消点赞
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.classList.remove('liked');
                this.querySelector('span').textContent = `点赞 (${count - 1}k)`;
            }
        });
        
        // 收藏功能
        document.querySelector('.save-btn').addEventListener('click', function() {
            const icon = this.querySelector('i');
            
            if (icon.classList.contains('far')) {
                // 收藏
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.classList.add('saved');
            } else {
                // 取消收藏
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.classList.remove('saved');
            }
        });
        
        // 关注功能
        document.querySelector('.follow-btn').addEventListener('click', function() {
            if (this.classList.contains('following')) {
                // 取消关注
                this.classList.remove('following');
                this.textContent = '关注';
            } else {
                // 关注
                this.classList.add('following');
                this.textContent = '已关注';
            }
        });
        
        // 评论点赞功能
        document.querySelectorAll('.like-comment').forEach(btn => {
            btn.addEventListener('click', function(e) {
                e.preventDefault();
                const icon = this.querySelector('i');
                const count = parseInt(this.textContent.trim());
                
                if (icon.classList.contains('far')) {
                    // 点赞
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.classList.add('liked');
                    this.innerHTML = `<i class="fas fa-heart"></i> ${count + 1}`;
                } else {
                    // 取消点赞
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.classList.remove('liked');
                    this.innerHTML = `<i class="far fa-heart"></i> ${count - 1}`;
                }
            });
        });
        
        // 评论按钮功能
        document.querySelector('.comment-btn').addEventListener('click', function() {
            document.querySelector('.comment-input').focus();
        });
        
        // 分享按钮功能
        document.querySelector('.share-btn').addEventListener('click', function() {
            alert('分享功能：选择分享平台');
        });
        
        // 举报按钮功能
        document.querySelector('.report-btn').addEventListener('click', function() {
            alert('举报功能：选择举报原因');
        });
        
        // 发布评论功能
        document.querySelector('.comment-submit').addEventListener('click', function() {
            const input = document.querySelector('.comment-input');
            const text = input.value.trim();
            
            if (text) {
                alert('评论发布成功！');
                input.value = '';
            }
        });
        
        // 回复评论功能
        document.querySelectorAll('.reply-comment').forEach(btn => {
            btn.addEventListener('click', function(e) {
                e.preventDefault();
                const commentAuthor = this.closest('.comment-content').querySelector('.comment-author').textContent;
                document.querySelector('.comment-input').value = `回复 @${commentAuthor}：`;
                document.querySelector('.comment-input').focus();
            });
        });
    </script>
</body>
</html>

